import Index from './index.component.vue';
import news from '../news_list.vue';
import newsDetail from '../news_detail.vue';
import custom from '../custom_list.vue';
import customForm from '../custom_form.vue';
import customDetail from '../custom_detail.vue';
import customReguser from '../custom_reguser.vue';
import goods from '../goods_list.vue';
import goodsForm from '../goods_form.vue';
import goodsDetail from '../goods_detail.vue';
import login from '../login.vue';
import desc from '../pc_desc.vue';
import index from '../index.vue';
import takeDeliveryOrde from '../take_delivery_order.vue';
import orderNumberQuery from '../order_number_query.vue';
import associatedEquipment from '../associated_equipment.vue';
import relation from '../relation.vue';

export const indexRoutes = [{
    path: '/',
    component: Index,
    meta: {
        crumbName: '首页'
    },
    children: [{
        path: '/login',
        name: '登录',
        component: login
    }, {
        path: 'news',
        name: '行业新闻',
        component: news
    }, {
        path: 'newsDetail',
        name: '新闻详情',
        component: newsDetail
    }, {
        path: 'custom',
        name: '我的客户',
        component: custom
    }, {
        path: 'customForm',
        name: '新增客户',
        component: customForm
    }, {
        path: 'customDetail',
        name: '客户详情',
        component: customDetail
    }, {
        path: 'customReguser',
        name: '开通账户',
        component: customReguser
    }, {
        path: 'goods',
        name: '我的商品',
        component: goods
    }, {
        path: 'goodsForm',
        name: '新增商品',
        component: goodsForm
    }, {
        path: 'goodsDetail',
        name: '商品详情',
        component: goodsDetail
    },{
        path:'desc',
        name: '地址说明',
        component: desc
    },{
        path:'index',
        name: '首页',
        component: index
    },{
        path:'takeDeliveryOrde',
        name: '订单',
        component: takeDeliveryOrde
    },{
        path:'orderNumberQuery',
        name: '订单',
        component: orderNumberQuery
    },{
        path:'associatedEquipment',
        name: '关联设备',
        component: associatedEquipment
    },{
        path:'relation',
        name: '关联设备',
        component: relation
    }]
}]